package com.tju.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tju.resource.model.TbCommand;
import com.tju.resource.tool.tool.ClientParameters;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbCommandMapper extends BaseMapper<TbCommand> {
    List<TbCommand> getTbCommandList(@Param("orderNumber") String orderNumber,@Param("prodId") Long prodId);

    IPage<TbCommand> selectCommandList(Page<TbCommand> page, @Param("pa") ClientParameters parameter);


}